#ifndef _TOKEN_H_
#define _TOKEN_H_

#include <string>

using namespace std;

class Token {
public:
    static const int INVALID_TOKEN_TYPE = 0;
    static const int PLUS = 1;
    static const int MULT = 2;
    static const int DOT = 3;
    static const int INT = 4;
    static const int VEC = 5;
    static const int ID = 6;
    static const int ASSIGN = 7;
    static const int PRINT = 8;
    static const int STAT_LIST = 9;

    int type;
    string text;
    Token(int type, string text) {
        this->type = type;
        this->text = text;
    }
    Token(int type) {
        this->type = type;
    }
    string to_string() {
        return text;
    }
};

#endif
